#!/bin/bash

echo "clean up ..."
rm ./data/*

echo "running ..."
for i in 100 500 1000
do
	echo "$i ..."
	./bin/heatdist 10 $i 50 127 >> ./data/res1.log
	./bin/heatdist 50 $i 50 127 >> ./data/res2.log
	./bin/heatdist 100 $i 50 127 >> ./data/res3.log
	./bin/heatdist 500 $i 50 127 >> ./data/res4.log
	./bin/heatdist 1000 $i 50 127 >> ./data/res5.log
done

echo "gnuplot ..."
gnuplot plot.gnuplot

